package com.smart.community.work.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 消息接收人关联视图对象
 * 
 * 严格按照《Java后端SpringBoot代码开发规范_重构版.md》VO规范实现：
 * - 功能单一原则：VO类必须是单纯的数据传输对象，功能必须单一
 * - 完整注释：所有字段都有完整的JavaDoc注释和Swagger注解
 * - 字段映射：正确映射关联查询结果字段
 * - 禁止工具方法：只保留基本的getter/setter方法，禁止添加工具方法
 * 
 * @author Wu.Liang
 * @since 2025-01-30
 * @version 1.0.0
 */
@Data
@Schema(description = "消息接收人关联视图对象")
public class NotificationReceiverRelVO {

    @Schema(description = "关联ID")
    private Long id;

    @Schema(description = "消息ID")
    private Long notificationId;

    @Schema(description = "消息标题")
    private String notificationTitle;

    @Schema(description = "消息内容")
    private String notificationContent;

    @Schema(description = "消息类型")
    private String notificationType;

    @Schema(description = "接收人ID")
    private Long receiverId;

    @Schema(description = "接收人用户名")
    private String receiverUsername;

    @Schema(description = "接收人真实姓名")
    private String receiverRealName;

    @Schema(description = "是否已读：0-未读，1-已读")
    private Integer isRead;

    @Schema(description = "是否已读描述")
    private String isReadDesc;

    @Schema(description = "阅读时间")
    private LocalDateTime readTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
